package com.tf.temper.entity;

import java.io.Serializable;
/**
 * 
 *
 * @date 2020-09-15 09:52:39
 */
public class TemperReturnEntity implements Serializable
{
	private int id;
	private String name;
	private double temperature;
	private String time;
	private String deviceId;

	public TemperReturnEntity() {
		this.temperature = 0;
		this.id = 0;
	}

	public TemperReturnEntity(int id,String name, double temperature,String time,String deviceId) {
		this.id = id;
		this.name = name;
		this.temperature = temperature;
		this.time = time;
		this.deviceId = deviceId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getTemperature() {
		return temperature;
	}

	public void setTemperature(double temperature) {
		this.temperature = temperature;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
}
